import BaseApi from './baseApi'
/**
 * 新肺炎模块接口
 */
export default class NCoVApi extends BaseApi {
  // 获取疫情人口数据
  static async GetNCoVData() {
    return await this.get('/nCoVapi/getNCoVData')
  }
  // 获取今日主推文章列表
  static async GetNCoVMainArticleList() {
    return await this.get('/nCoVapi/getNCoVMainArticleList')
  }
  // 获取辟谣文章列表
  static async GetRefutesArticleList() {
    return await this.get('/nCoVapi/getRefutesArticleList')
  }
  // 获取自查文章列表
  static async GetInspectionsArticleList() {
    return await this.get('/nCoVapi/getInspectionsArticleList')
  }
  // 获取预防文章列表
  static async GetPreventionArticleList() {
    return await this.get('/nCoVapi/getPreventionArticleList')
  }
  // 获取同乘寻人列表
  static async GetSeachList() {
    return await this.get('/data.json', null, null, 'nosugartech')
  }
}